import axios from "./axios";

//账号密码登录
export function loginPwd(data) {
  return axios.post("/login/loginPwd", data);
}
//获取验证码
export function getMobileCode(data) {
  return axios.post("/login/getMobileCode", data);
}
//注册
export function regUser(data) {
  return axios.post("/login/regUser", data);
}
//忘记密码
export function forgotPwd(data) {
  return axios.post("/login/forgotPwd", data);
}
//首页数据
export function Index(data) {
  return axios.post("/index/index", data);
}
//文本内容（证书，产品，顶级）
export function getDoc(data) {
  return axios.post("/index/getDoc", data);
}
//店铺数据
export function shopInfo(data) {
  return axios.post("/index/shopInfo", data);
}
//预约页面
export function ordered(data) {
  return axios.post("/index/ordered", data);
}
//发起预约
export function orderedDo(data) {
  return axios.post("/index/orderedDo", data);
}
//我的预约
export function myOrdered(data) {
  return axios.post("/index/myOrdered", data);
}
//用户信息
export function userInfo(data) {
  return axios.post("/user/userInfo", data);
}
//用户信息修改
export function editInfo(data) {
  return axios.post("/user/editInfo", data);
}
//修改密码
export function editPassword(data) {
  return axios.post("/user/editPassword", data);
}
//我的地址
export function getAddress(data) {
  return axios.post("/user/getAddress", data);
}
//修改地址
export function editAddress(data) {
  return axios.post("/user/editAddress", data);
}
//可提现余额
export function cashPage(data) {
  return axios.post("/user/cashPage", data);
}
//提现申请
export function cashDo(data) {
  return axios.post("/user/cashDo", data);
}
//提现记录
export function cashList(data) {
  return axios.post("/user/cashList", data);
}
//财务记录
export function finance(data) {
  return axios.post("/user/finance", data);
}
//我的粉丝
export function myFans(data) {
  return axios.post("/user/myFans", data);
}
//记账中心
export function billCenter(data) {
  return axios.post("/user/billCenter", data);
}
//店铺设置数据
export function userShopInfo(data) {
  return axios.post("/user/shopInfo", data);
}
//设置店铺
export function editShop(data) {
  return axios.post("/user/editShop", data);
}
//我的订单
export function userOrder(data) {
  return axios.post("/user/order", data);
}
//获取对方信息
export function sellUserInfo(data) {
  return axios.post("/user/sellUserInfo", data);
}
//确认付款
export function userTruePay(data) {
  return axios.post("/user/truePay", data);
}
//确认收款
export function userTrueCollect(data) {
  return axios.post("/user/trueCollect", data);
}
//提货
export function userPickUpGoods(data) {
  return axios.post("/user/pickUpGoods", data);
}
//申请上架
export function userSell(data) {
  return axios.post("/user/sell", data);
}
//店铺订单
export function shopOrder(data) {
  return axios.post("/shop/order", data);
}
//待上架订单
export function shopSjOrder(data) {
  return axios.post("/shop/sjOrder", data);
}
//上架提交
export function shopSjOrderDo(data) {
  return axios.post("/shop/sjOrderDo", data);
}
//一键上架
export function shopSjOrderAllDo(data) {
  return axios.post("/shop/sjOrderAllDo", data);
}
//店铺提现记录
export function shopCashList(data) {
  return axios.post("/shop/cashList", data);
}
//店铺提现审核状态
export function shopCashExamine(data) {
  return axios.post("/shop/cashExamine", data);
}
//下级店铺数据
export function shopGetShop(data) {
  return axios.post("/shop/getShop", data);
}
//店业绩
export function shopGetOrderTotal(data) {
  return axios.post("/shop/getOrderTotal", data);
}
//证书列表
export function shopSellOrder(data) {
  return axios.post("/shop/sellOrder", data);
}
//解封或封存证书
export function shopSetSellOrder(data) {
  return axios.post("/shop/setSellOrder", data);
}
//拆单
export function shopSplit(data) {
  return axios.post("shop/split", data);
}
//提交转场
export function shopTransition(data) {
  return axios.post("shop/transition", data);
}
//转移记录
export function shopTransitionList(data) {
  return axios.post("shop/transitionList", data);
}
//转移确定
export function shopTrueTransition(data) {
  return axios.post("shop/trueTransition", data);
}
//指派
export function shopPpOrderDo(data) {
  return axios.post("shop/ppOrderDo", data);
}
//个人中心
export function userMyPage(data) {
  return axios.post("/user/myPage", data);
}
//提货记录
export function shopRrderTh(data) {
  return axios.post("/shop/orderTh", data);
}
//兑换记录
export function userOrderTh(data) {
  return axios.post("/user/orderTh", data);
}
//推广订单
export function userTjOrder(data) {
  return axios.post("/user/tjOrder", data);
}
//业绩订单
export function userTotalOrder(data) {
  return axios.post("/user/totalOrder", data);
}
//操作台
export function shopIndex(data) {
  return axios.post("/shop/index", data);
}
//退出登录
export function outLogin(data) {
  return axios.post("/login/outLogin", data);
}
//一键收款
export function allTrueCollect(data) {
  return axios.post("/user/allTrueCollect", data);
}
//查看上架费
export function getsjPrice(data) {
  return axios.post("/user/getsjPrice", data);
}
//一键上架
export function upperOrderAllDo(data) {
  return axios.post("/shop/upperOrderAllDo", data);
}
//店铺订单一键收款
export function shopAllTrueDo(data) {
  return axios.post("/shop/allTrueDo", data);
}
//店长登录验证码验证接口
export function loginShopCode(data) {
  return axios.post("/login/shopCode", data);
}
//绑定收款信息弹窗
export function CheckInfo(data) {
  return axios.post("/index/checkInfo", data);
}
//重选买家
export function shopEditPpOrderDo(data) {
  return axios.post("/shop/editPpOrderDo", data);
}
